using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for NewsBL
/// </summary>
namespace BL 
{
    public class NewsBL  
    {
    	#region Private Variables
		NewsDAL objNewsDAL;
		#endregion
		
        #region Public Constructors
        public NewsBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objNewsDAL=new NewsDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(NewsDL objNewsDL)
        {
            return objNewsDAL.Insert(objNewsDL);
        }

        public int Update(NewsDL objNewsDL)
        {
             return objNewsDAL.Update(objNewsDL);

        }

        public int Delete(NewsDL objNewsDL)
        {
             return objNewsDAL.Delete(objNewsDL);

        }

         public int DeleteAll()
        {
             return objNewsDAL.DeleteAll();
        }

        public NewsDL Select(NewsDL objNewsDL)
        {
            return objNewsDAL.Select(objNewsDL);
        }

        public ArrayList SelectAll1( )
        {
         return objNewsDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objNewsDAL.SelectAll();
        }


     
#endregion          
    
    }

}
